﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace SpellChecker.Logic
{
    public class Satzzeichenverarbeiter
    {
        public string CleanText(string InputString)
        {
            return ReplacePunctuationMarks(InputString);
        }

        private string ReplacePunctuationMarks(string InputString)
        {
            return Regex.Replace(InputString, "[.,;!?:']", " ");
        }
    }
}
